package account

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/account/v1"
)

func (c *ControllerV1) AuthLogout(ctx context.Context, req *v1.AuthLogoutReq) (res *v1.AuthLogoutRes, err error) {
	res = &v1.AuthLogoutRes{}
	err = service.Auth().Logout(ctx)
	return
}
